package com.zzyl.mapper;

import com.zzyl.dto.FenyeDto;
import com.zzyl.entity.Reservation;
import com.zzyl.entity.fneye;
import com.zzyl.vo.FenyeVo;
import com.zzyl.vo.TimeCountVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface CanguanyuyueMapper {

    int chanxun9(Long memberId, Integer status, LocalDateTime start, LocalDateTime end);

    List<TimeCountVo> countByTime(Long time);

    List<TimeCountVo> countByTime(LocalDateTime time, LocalDateTime localDateTime);

    void insert(Reservation insert);

    List<FenyeVo> getPage(FenyeDto dto);

    Reservation selectById(Long id);

    void update(Reservation reservation);
}
